package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 菜品信息对象 food
 * 
 * @author Wxl
 * @date 2022-03-16
 */

@Data
public class Food extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商店ID */
    @Excel(name = "商店ID")
    private Long shopId;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long categoryId;

    /** 食品名字 */
    @Excel(name = "食品名字")
    private String foodName;
    /** 标签 */
    @Excel(name = "标签")
    private String tag;

    /** 描述 */
    @Excel(name = "描述")
    private String foodDesc;

    /** 食品封面图 */
    @Excel(name = "食品封面图")
    private String foodCover;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal originPrice;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal sellPrice;

    /** 折扣 */
    @Excel(name = "折扣")
    private Long discount;

    /** 点赞 */
    @Excel(name = "点赞")
    private Long likeCount;

    /** 限购数量 */
    @Excel(name = "限购数量")
    private Long limitNum;

    /** 食品规格id */
    private String foodSpecId;

    /** 总的销量 */
    @Excel(name = "总的销量")
    private Long totalSales;

    /** 月销量 */
    @Excel(name = "月销量")
    private Long monthSales;

    /** 好评率 */
    @Excel(name = "好评率")
    private Long praiseRate;

    /** 状态 */
    @Excel(name = "状态")
    private Long foodStatus;

}
